home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0128 / text0004.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  1.1 KB  |  27 lines

  1. Hi,
  2.  
  3. Anthony had some question about the structure of BM. Here is what
  4. Doug said about the possible memory problems regarding textures.
  5. I don't remember the orignal question.
  6.  
  7. -------------------------------------------------------------------
  8. > Will all textures fitt into memory at once? I think Anthony had some
  9. > questions about this.
  10.  
  11. No, but they won't have to. This is why we will use a texture cache. It's 
  12. simpler & probably faster than virtual memory, but needs a bit of fancy
  13. programming to do right. When it wants a new texture, it looks in the
  14. cache. If it's not there, it loads it over the previously least used 
  15. texture(s) and it will very probably be there for next time round.
  16.  
  17. It's a really simple idea, and easier to work with than VM. VM can also be 
  18. tricky when you have Alternative ram, as it is registered under the same
  19. type as FastRam. You would need to hardcode it into BM instead of putting
  20. it through the system as a general capability, in order to avoid clashing.
  21.  
  22. --------------------------------------------------------------------
  23.  
  24. //Magnus Kollberg
  25.  
  26.  
  27.